Carbon


ThreadState

Header: Threads.h

enum ThreadState {
    kReadyThreadState = ,
    kStoppedThreadState = 1,
    kRunningThreadState = 2
};

Constant descriptions

kReadyThreadState

The thread is ready to run.

kStoppedThreadState

The thread is stopped and not ready to run.

kRunningThreadState

The thread is running.

The Thread Manager functions which get and set information about the state of a thread, such as GetThreadState and SetThreadState, use these values.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)